package com.xxx.dao;

import com.xxx.entity.Remark;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xxx.entity.dto.RemarkDto;
import com.xxx.entity.query.RemarkQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 评论表 Mapper 接口
 * </p>
 *
 * @author xxx
 * @since 2024-11-26
 */
@Mapper
public interface RemarkDao extends BaseMapper<Remark> {
    List<RemarkDto> selectByPage(@Param("current") Integer current,
                                  @Param("size") Integer size);
    List<RemarkDto> selectByCondition(RemarkQuery remarkQuery);
}
